Extending the Sparkle Core language with object abstraction
نویسندگان
چکیده
Sparkle is a theorem prover specially constructed for the functional programming language Clean. In a pure functional language like Clean the values of the functional variables are constants; variables of functional programs do not change in time. Hence it seems that temporality has no meaning in functional programs. However, in certain cases (e.g. in interactive or distributed programs, or in ones that use IO), we can consider a series of values computed from each other as different states of the same “abstract object”. For this abstract object we can prove temporal properties. In this paper we present a method to describe abstract objects and temporal properties in an extended version of the Sparkle Core language. The creation of such descriptions will be supported by a refactoring tool. The descriptions are completely machine processible, and provide a way to automatize the proof of temporal properties of Clean programs with the extended Sparkle system.
منابع مشابه
Defining and Proving Invariants of Clean Programs
In a pure functional language like Clean the variables represent constant values; variables do not change in time. Hence it seems that temporality has no meaning in functional programs. However, in certain cases (e.g. in interactive or distributed programs, or in those that use IO) a series of values computed from one another can be considered as different states of the same “abstract object”. ...
متن کاملObject Based Multiparadigm Concepts for Verification of Functional Components
Temporal properties are very useful for proving the correctness of (sequential or parallel) imperative (possibly object oriented) programs. In the case of the correctness of functional components, the practicability of temporal operators is not so evident. In a pure functional programming language a variable is a value and not an object that can change its value in time, viz. during program exe...
متن کاملAn Arrow Based Semantics for Interactive Applications
Interactive applications, whether they run on the desktop or as a web application, can be considered to be collections of interconnected editors that allow users to manipu late data. This is the view that is advocated by the GEC Toolkit and the iData Toolkit, which offer a high level of abstraction to desktop and web GUI applications respec tively. Special features of these toolkits are that ...
متن کاملReasoning About Deterministic Concurrent Functional I/O
This paper develops a language for reasoning about concurrent functional I/O. We assume that the API is specified as statetransformers on a single world state. We then prove that under certain conditions evaluation in this language is deterministic, and give some examples. All properties were machine-verified using the Sparkle proofassistant and using Core-Clean as a meta-language.
متن کاملAnti-Sparkle Film Distinctness of Image Characterization
The amount of sparkle associated with automotive anti-glare display surfaces is generally worsened with increasing display resolutions. One sparkle countermeasure recently introduced by 3M is the use of an anti-sparkle optically clear adhesive (OCA). The distinctness of image (DOI) properties of the 3M anti-sparkle OCA are further investigated.
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Acta Cybern.
دوره 17 شماره
صفحات -
تاریخ انتشار 2006